﻿using System;
using System.Collections.Generic;

namespace File.Api.Models
{
    public class LSOrderModel
    {
        public int Type { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// lcp编号
        /// </summary>
        public string LcpCode { get; set; }

        /// <summary>
        /// 进度
        /// </summary>
        public int Progress { get; set; }

        /// <summary>
        /// 装柜编号+分组
        /// </summary>
        public string ContainerNumber { get; set; }

        /// <summary>
        /// 装柜日期
        /// </summary>
        public string ContainerDate { get; set; }

        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }

        /// <summary>
        /// 外向交货单
        /// </summary>
        public string OutboundDelivery { get; set; }

        /// <summary>
        /// 销售单号
        /// </summary>
        public string SaleCode { get; set; }

        /// <summary>
        /// 客户地址
        /// </summary>
        public string CustomerAddress { get; set; }

        public DateTime? CreateTime { get; set; }

        public string Qty { get; set; }

        public string Id { get; set; }

        /// <summary>
        /// LS01-控安&光源，LS02-XBU，LS03-数字教育
        /// </summary>
        public string BUCode { get; set; }

        public bool ISAsnCustomer { get; set; }

        public string AsnProcessCode { get; set; }

        public string AsnProcessUrl { get; set; }

        public string AreaId { get; set; }

        public string OrgId { get; set; }

        /// <summary>
        /// 柜号
        /// </summary>
        public string ContainerCode { get; set; }

        /// <summary>
        /// 锁号
        /// </summary>
        public string LockCode { get; set; }

        /// <summary>
        /// 实际出货数量
        /// </summary>
        public decimal RealityShipmentQty { get; set; }

        /// <summary>
        /// 异常描述
        /// </summary>
        public string BadRemark { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 装柜区域
        /// </summary>
        public string ContainerArea { get; set; }

        /// <summary>
        /// 检验方案
        /// </summary>
        public string SamplingSchemeId { get; set; }

        /// <summary>
        /// 方案名称
        /// </summary>
        public string SamplingSchemeName { get; set; }

        /// <summary>
        /// 检验结果
        /// </summary>
        public string StrResult { get; set; }

        /// <summary>
        /// 货柜七点检验记录
        /// </summary>
        public string ContainerCheckOrderId { get; set; }

        public string ExceptionId { get; set; }

        public string ExceptionCode { get; set; }

        public string SendOrderId { get; set; }

        public int Status { get; set; }

        public string CheckUser { get; set; }

        public string AuditUser { get; set; }

        public string StrCreateTime { get; set; }

        /// <summary>
        /// 保存年限
        /// </summary>
        public int ShelfLife { get; set; }

        /// <summary>
        /// 表单编号
        /// </summary>
        public string TableCode { get; set; }

        public List<LSOrderSamplingSchemeItemModel> Items { get; set; } = new List<LSOrderSamplingSchemeItemModel>();
    }
}
